import { post } from "@/utils/request";

export const getSystemTime = <T>(data?: {}, params?: {}) => {
  return post<T>("/pro-api/app/public/get/time", data, params);
};

export const login = <T>(data?: {}, params?: {}) => {
  return post<T>("/public/login", data, params);
};

export const list = <T>(data?: {}, params?: {}) => {
  return post<T>("/public/list", data, params);
};
